package com.easybbs.entity.vo.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: yudaxian
 * @Description: TODO
 * @DateTime: 2024/10/27 14:28
 **/
@Data
@Builder
public class UserCenterGetUserInfoRspVO {

    private String userId;

    private String nickName;

    private Integer sex;

    private String personDescription;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date joinTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastLoginTime;

    private Integer postCount;

    private Integer likeCount;

    private Integer currentIntegral;
}
